package com.example.myweb.Dto.Auth;

import javax.validation.constraints.NotBlank;

public class ForgotPasswordRequestDTO {
    @NotBlank(message = "邮箱或手机号不能为空")
    private String emailOrPhone;

    // Getters and Setters
    public String getEmailOrPhone() {
        return emailOrPhone;
    }

    public void setEmailOrPhone(String emailOrPhone) {
        this.emailOrPhone = emailOrPhone;
    }
}